package com.example.springbootstudy.dao.impl;

import com.example.springbootstudy.dao.DeptDao;
import org.springframework.stereotype.Repository;

@Repository
public class DeptDaoImpl implements DeptDao {
    @Override
    public String addDao(String ask) {
        if(ask.equals("访问数据库")){
            return "成功访问数据库";
        }
        return "访问失败";
    }
}
